package org.linlinjava.litemall.admin.beans.enums;

public enum AdminOrderStatusEnum {

    /*P_1(1, "待处理"),
    P_2(2, "待付款"),
    P_3(3, "待审核"),

    P_10(10, "总部审核通过"),
    P_11(11, "总部审核驳回"),
    P_4(4, "已发货"),
    P_5(5, "确认收货"),
    P_6(6, "已拒绝"),
    P_7(7, "收货审核"),
    P_8(8, "完成"),
    P_9(9, "已通过"),*/
    //1申请调货 3同意调货 10总部审核 4erp处理发货 5确认收货
    //1申请调货(待处理) 3同意调货(待审核) 10总部审核(代发货) 4erp处理发货(待收货) 5确认收货(已完成)


    P_1(1, "申请调货（待处理）"),

    P_2(2, "同意调货（待审核）"),
    P_6(6, "同意调货（拒绝调货）"),

    P_3(3, "总部审核（待发货）"),
    P_7(7, "总部审核（审核驳回）"),

    P_4(4, "erp处理发货（待收货）"),
    P_8(8, "erp处理发货（拒绝发货）"),

    P_5(5, "确认收货（已收货）"),
    P_9(9, "确认收货（拒绝收货）"),

    /** new
     申请调货（1待处理）→同意调货（2待审核 | 6拒绝调货）→总部审核（3待发货 | 7审核驳回）→erp处理发货（4待收货 | 8拒绝发货）→确认收货（5已收货 | 9拒绝收货）
     */

    ;

    private Integer code;
    private String desc;

    AdminOrderStatusEnum(Integer code, String desc){
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
